package com.rightsidetech.activity.mapper;

import com.rightsidetech.activity.entity.ActActivityRelation;
import com.rightsidetech.activity.entity.ActActivityRelationWithBLOBs;
import org.apache.ibatis.annotations.Param;

public interface ActActivityRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActActivityRelationWithBLOBs record);

    int insertSelective(ActActivityRelationWithBLOBs record);

    ActActivityRelationWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ActActivityRelationWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ActActivityRelationWithBLOBs record);

    int updateByPrimaryKey(ActActivityRelation record);

    ActActivityRelationWithBLOBs selectByActId(@Param("actId") Long actId, @Param("type") Byte type);

    int updateByRelationId(ActActivityRelationWithBLOBs record);
}